package com.todo.strategy.online.service.api.pipeline;

import com.todo.common.common.entity.response.BizResponse;
import com.todo.strategy.online.service.api.pipeline.request.EnablePStrategyDetailRequest;
import com.todo.strategy.online.service.api.pipeline.request.InsertPStrategyDetailRequest;
import com.todo.strategy.online.service.api.pipeline.request.RemovePStrategyDetailRequest;
import com.todo.strategy.online.service.api.pipeline.request.UpdatePStrategyDetailRequest;

/**
 * @author azhebuxing
 * @date 2025/3/1 15:15
 * @description
 */
public interface PStrategyPipelineApi {
    /**
     * 插入策略详情
     *
     * @param request
     * @return
     */
    BizResponse<Boolean> insertPStrategyDetail(InsertPStrategyDetailRequest request);

    /**
     * 更新策略详情
     *
     * @param request
     * @return
     */
    BizResponse<Boolean> updatePStrategyDetail(UpdatePStrategyDetailRequest request);

    /**
     * 删除策略详情
     *
     * @param request
     * @return
     */
    BizResponse<Boolean> removePStrategyDetail(RemovePStrategyDetailRequest request);

    /**
     * 启/禁用策略详情
     *
     * @param request
     * @return
     */
    BizResponse<Boolean> enablePStrategyDetail(EnablePStrategyDetailRequest request);
}
